package com.zunipe.minix;

import com.zunipe.until.Util;
import net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(MultiplayerScreen.class)
public class MultiplayerScreenMixin
{
    @Inject(method = "init", at = @At("RETURN"))
    private void init(CallbackInfo info)
    {
        Util.autoAttack = false;
        Util.autoDrop = false;
        Util.autoSignIn = false;
        Util.autoClickRight = false;
        Util.autoClickLeft = false;
        Util.alwaysBackwardWalk = false;
        Util.scanningBox = false;
        Util.xrayOn = false;
        Util.firstLogin = true;
    }
}
